import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity({name:'token'})
export class TokenEntity{
    @PrimaryGeneratedColumn()
    id:number

    @Column({type:'text'})
    token:string

    @Column()
    uid:number

    @Column({name:'user_name'})
    userName:string
}